Skip to content

docs: add a demo video to the Logto MCP Server page - #1482

Merged
xiaoyijun merged 1 commit into
masterfrom
xiaoyijun-docs-mcp-server-video
Aug 21, 2026
Merged

docs: add a demo video to the Logto MCP Server page#1482
xiaoyijun merged 1 commit into
masterfrom
xiaoyijun-docs-mcp-server-video

Conversation

@xiaoyijun

Copy link
Copy Markdown
Contributor

Summary

Embed the Logto MCP Server demo video near the top of the Logto MCP Server page, so people landing there from other docs can see it in action right away.

  • Adds a reusable YouTubeVideo component, registered globally in MDXComponents so any doc can use it without an import.
  • Renders the thumbnail first and only loads the player on click, so the page doesn't pull in the YouTube player (or its cookies) on every visit.
  • Allows youtube-nocookie.com / youtube.com in frame-src — the current CSP would block the embed otherwise.

Translated docs will pick the embed up on the next content generation run.

Testing

Tested locally: light/dark mode, desktop/mobile widths, and playback after clicking.

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@xiaoyijun
xiaoyijun requested a review from a team August 21, 2026 07:52
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 21, 2026

Copy link
Copy Markdown

Deploying logto-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5485e2a
Status: ✅  Deploy successful!
Preview URL: https://8d13ac08.logto-docs.pages.dev
Branch Preview URL: https://xiaoyijun-docs-mcp-server-vi.logto-docs.pages.dev

View logs

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 21, 2026

Copy link
Copy Markdown

Deploying logto-docs-tutorials with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5485e2a
Status: ✅  Deploy successful!
Preview URL: https://ff088337.logto-docs-tutorials.pages.dev
Branch Preview URL: https://xiaoyijun-docs-mcp-server-vi.logto-docs-tutorials.pages.dev

View logs

@xiaoyijun
xiaoyijun force-pushed the xiaoyijun-docs-mcp-server-video branch from ffe5932 to 5485e2a Compare August 21, 2026 08:58
@xiaoyijun
xiaoyijun merged commit 18b741e into master Aug 21, 2026
19 checks passed
@xiaoyijun
xiaoyijun deleted the xiaoyijun-docs-mcp-server-video branch August 21, 2026 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants